<?php

namespace XLite\Model;

/**
 * Product inventory
 *
 * @see   ____class_see____
 * @since 1.0.0
 *
 * @Entity
 * @Table  (name="inventory",
 *      indexes={
 *          @Index (name="id", columns={"id"})
 *      }
 * )
 *
 * @HasLifecycleCallbacks
 */
class Inventory extends \XLite\Module\Zaharchenko\DisableInventory\Model\Inventory
{
    /**
     * Set enabled
     *
     * @param boolean $enabled
     */
    public function setEnabled($enabled)
    {
        $this->enabled = $enabled;
    }

    /**
     * Get enabled
     *
     * @return boolean $enabled
     */
    public function getEnabled()
    {
        return $this->enabled;
    }

    /**
     * Get inventoryId
     *
     * @return uinteger $inventoryId
     */
    public function getInventoryId()
    {
        return $this->inventoryId;
    }

    /**
     * Get amount
     *
     * @return uinteger $amount
     */
    public function getAmount()
    {
        return $this->amount;
    }

    /**
     * Set lowLimitEnabled
     *
     * @param boolean $lowLimitEnabled
     */
    public function setLowLimitEnabled($lowLimitEnabled)
    {
        $this->lowLimitEnabled = $lowLimitEnabled;
    }

    /**
     * Get lowLimitEnabled
     *
     * @return boolean $lowLimitEnabled
     */
    public function getLowLimitEnabled()
    {
        return $this->lowLimitEnabled;
    }

    /**
     * Get lowLimitAmount
     *
     * @return uinteger $lowLimitAmount
     */
    public function getLowLimitAmount()
    {
        return $this->lowLimitAmount;
    }

    /**
     * Set product
     *
     * @param XLite\Model\Product $product
     */
    public function setProduct(\XLite\Model\Product $product)
    {
        $this->product = $product;
    }

    /**
     * Get product
     *
     * @return XLite\Model\Product $product
     */
    public function getProduct()
    {
        return $this->product;
    }
}